package net.csdn.business.notify.handler.service.impl;

import net.csdn.business.notify.common.config.TargetTypeConfig;
import net.csdn.business.notify.common.model.vo.NotifyTargetVO;
import net.csdn.business.notify.handler.service.INotifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName NotifyServiceImpl
 * @Description TODO
 * @Author zhangyl
 * @Date 2023/12/7 16:48
 */
@Service
public class NotifyServiceImpl implements INotifyService {

    @Autowired
    private TargetTypeConfig targetTypeConfig;

    @Override
    public List<NotifyTargetVO> getTargetInfo() {
        return targetTypeConfig.getList();
    }
}
